package com.dime.basic.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * 职业诊断标准对象 dime_baseoccupationcriterion
 * 
 * @author Tiny
 * @date 2023-10-13
 */
public class DimeBaseoccupationcriterion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 危害编码 */
    @Excel(name = "危害编码")
    private String harmId;

    /** 危害名称 */
    @Excel(name = "危害名称")
    private String harmName;

    /** 在岗状态 */
    @Excel(name = "在岗状态")
    private String workStatus;

    /** 排序 */
    @Excel(name = "排序")
    private Long sn;

    /**  */
    private Integer IsValid = 1;



    private List<DimeBasecombcriterion> dimeBasecombcriterionList;

    private List<DimeBaseoccupationaldiseasecriterion> dimeBaseoccupationcriterionList;

    private List<DimeBasecontraindicationcriterion>dimeBasecontraindicationcriterionList;


    public List<DimeBaseoccupationaldiseasecriterion> getDimeBaseoccupationcriterionList() {
        return dimeBaseoccupationcriterionList;
    }

    public void setDimeBaseoccupationcriterionList(List<DimeBaseoccupationaldiseasecriterion> dimeBaseoccupationcriterionList) {
        this.dimeBaseoccupationcriterionList = dimeBaseoccupationcriterionList;
    }



    public List<DimeBasecombcriterion> getDimeBasecombcriterionList() {
        return dimeBasecombcriterionList;
    }

    public void setDimeBasecombcriterionList(List<DimeBasecombcriterion> dimeBasecombcriterionList) {
        this.dimeBasecombcriterionList = dimeBasecombcriterionList;
    }


    public List<DimeBasecontraindicationcriterion> getDimeBasecontraindicationcriterionList() {
        return dimeBasecontraindicationcriterionList;
    }

    public void setDimeBasecontraindicationcriterionList(List<DimeBasecontraindicationcriterion> dimeBasecontraindicationcriterionList) {
        this.dimeBasecontraindicationcriterionList = dimeBasecontraindicationcriterionList;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setHarmId(String harmId) 
    {
        this.harmId = harmId;
    }

    public String getHarmId() 
    {
        return harmId;
    }
    public void setHarmName(String harmName) 
    {
        this.harmName = harmName;
    }

    public String getHarmName() 
    {
        return harmName;
    }
    public void setWorkStatus(String workStatus) 
    {
        this.workStatus = workStatus;
    }

    public String getWorkStatus() 
    {
        return workStatus;
    }
    public void setSn(Long sn) 
    {
        this.sn = sn;
    }

    public Long getSn() 
    {
        return sn;
    }
    public void setIsValid(Integer IsValid) 
    {
        this.IsValid = IsValid;
    }

    public Integer getIsValid() 
    {
        return IsValid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("harmId", getHarmId())
            .append("harmName", getHarmName())
            .append("workStatus", getWorkStatus())
            .append("sn", getSn())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("IsValid", getIsValid())
            .toString();
    }
}
